package com.qzdsoft.erpcloud.mapper.proj;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qzdsoft.erpcloud.vo.proj.MaterialAliasInfo;
import com.qzdsoft.vo.PageRequest;

public interface MaterialAliasViMapper {
    
    int deleteByPrimaryKey(Integer id);

    int insert(MaterialAliasInfo record);

    int insertSelective(MaterialAliasInfo record);

    MaterialAliasInfo selectByPrimaryKey(MaterialAliasInfo tProjMaterialAliasVi);

     int updateByPrimaryKeySelective(MaterialAliasInfo record);

    int updateByPrimaryKey(MaterialAliasInfo record);
    
	List<MaterialAliasInfo> findPageMaterialAlias(@Param("pageRequest") PageRequest request,@Param("key") String key);
	//获取网格信息(存货信息)
	List<MaterialAliasInfo> findAll();
	//获取网格信息(往来单位信息)
	List<MaterialAliasInfo> findPartnerAll();
}